home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / bbs / pentas20.zip / PENTAS20.EXE / SCRIPTS / TEST2.SCR < prev    next >
Text File  |  1997-08-20  |  3KB  |  76 lines

  1. START COMMENT
  2. ***************************************************************
  3. Test #2 Script Written For Pentasim  
  4. Another fairly simple example of what can be done.
  5. ***************************************************************
  6. END COMMENT
  7. DISPLAY,2,7
  8. You find yourself in an underground @valley@ with @3@ large rocks 
  9. directly in front of you.  Which @rock@ do you turn over?
  10. CHOICES,3
  11. START CHOICE,10
  12. CHOICE,A,Rock #1
  13. CHOICE,B,Rock #2
  14. CHOICE,C,Rock #3
  15. END CHOICE
  16. INPUT,Make your Choice:,15
  17. START DECISION
  18. A
  19. GIVE,FIND
  20. B
  21. GOTO,PASSAGEWAY
  22. C
  23. GIVE,FIND
  24. END DECISION
  25. WAIT
  26. EXIT
  27. ROUTINE,PASSAGEWAY
  28. START COMMENT
  29. **********************************************************************
  30. The user has chosen Rock #2 in the above DECISION, so everything
  31. after the GOTO,PASSAGEWAY is ignored, until the program finds
  32. ROUTINE,PASSAGEWAY.  If the user chose anything OTHER than "B", that
  33. command would be executed, then the program would pause at the WAIT
  34. statement and then exit.
  35. **********************************************************************
  36. END COMMENT
  37. CLEAR
  38. DISPLAY,2,7
  39. Under the @second@ Rock you find a Secret @Passageway@ that leads you 
  40. into another world...
  41. START COMMENT
  42. **********************************************************************
  43. Instead of inserting blank lines...If we want to print some text and
  44. then move ahead a line or 2, we can simply print the initial lines we
  45. want and then use another DISPLAY command and position the display
  46. where we want it to be.
  47. **********************************************************************
  48. END COMMENT
  49. DISPLAY,1,10
  50. There seems to be @something@ ahead in the distance...
  51. PAUSE,3
  52. START COMMENT
  53. ****************************************************
  54. No we pause here for 3 seconds for some suspense :)
  55. ****************************************************
  56. END COMMENT
  57. DISPLAY,2,12
  58. All of a @sudden@ it is upon you...A disfigured @Robot@...The Robot 
  59. reaches out and @touches@ your hand with @quick@ accuracy.
  60. PAUSE,3
  61. GIVE,GRANT
  62. START COMMENT
  63. *************************************************************************
  64. Since the GIVE command will always GIVE something to the player, we can
  65. now say something after the item(s) have been given.  Keep in mind the
  66. display lines here as well...Since our 2 lines of text above were
  67. written on line 12 and 13, the GIVE line is always written 2 lines down
  68. from the last line, which is 15 in this case, our next display should be 
  69. at least on line 16.
  70. **************************************************************************
  71. END COMMENT
  72. DISPLAY,1,17
  73. Before you can thank the @Robot@, it @dissapears@ into thin air!
  74. WAIT
  75. EXIT
  76.